﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CadastroOrg.aspx.cs" Inherits="Help_Us.Interface.Organizacao.CadastroOrg" MasterPageFile="../MasterPages/Cadastros.Master" Title="Cadastrar Empresa" %>
<asp:Content ID="Content1" ContentPlaceHolderID="headCadastros" runat="server">
    <style type="text/css">
        .formulario
        {
            font-family:Arial;
            font-size:12px;
            color:Black;
            display:block;
        }
        .style1
        {
            width: 100%;
        }
        .style2
        {
            width: 138px;
        }
        .style3
        {
            width: 138px;
            height: 10px;
        }
        .style4
        {
            height: 10px;
        }
        .style5
        {
            width: 98px;
        }
        .style6
        {
            width: 376px;
        }
        .style7
        {
            width: 59px;
        }
        .style8
        {
            width: 98px;
            height: 10px;
        }
        .style9
        {
            width: 376px;
            height: 10px;
        }
        .style10
        {
            width: 59px;
            height: 10px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ConteudoCadastros" runat="server">
    
    <fieldset>
    <legend>Dados da Empresa</legend>

       <table class="style1">
           <tr>
               <td class="style2">
                   Nome da Empresa:</td>
               <td>
                   <asp:TextBox ID="nomeTextBox" runat="server" Width="331px"></asp:TextBox>
                   <asp:RequiredFieldValidator ID="nomeValidator" runat="server" 
                       ControlToValidate="nomeTextBox" ErrorMessage="Digite o nome da empresa" 
                       ForeColor="Red">*</asp:RequiredFieldValidator>
               </td>
           </tr>
           <tr>
               <td class="style3">
                   </td>
               <td class="style4">
                   </td>
           </tr>
           <tr>
               <td class="style2">
                   CNPJ:
               </td>
               <td>
                   <asp:TextBox ID="cnpjTextBox" runat="server" Width="183px"></asp:TextBox>
                   <asp:RequiredFieldValidator ID="cnpjValidator" runat="server" 
                       ControlToValidate="cnpjTextBox" ErrorMessage="Digite o CNPJ" ForeColor="Red">*</asp:RequiredFieldValidator>
               </td>
           </tr>
           <tr>
               <td class="style3">
                   </td>
               <td class="style4">
                   </td>
           </tr>
           <tr>
               <td class="style2">
                   Insc. Estadual
               </td>
               <td>
                   <asp:TextBox ID="inscEstTextBox" runat="server" Width="183px"></asp:TextBox>
                   <asp:RequiredFieldValidator ID="inscEstaValidator" runat="server" 
                       ControlToValidate="inscEstTextBox" ErrorMessage="Digite a Inscrição Estadual" 
                       ForeColor="Red">*</asp:RequiredFieldValidator>
               </td>
           </tr>
           <tr>
               <td class="style3">
                   </td>
               <td class="style4">
                   </td>
           </tr>
           <tr>
               <td class="style2">
                   Telefone:
               </td>
               <td>
                   <asp:TextBox ID="telTextBox" runat="server"></asp:TextBox>
                   <asp:RequiredFieldValidator ID="telefoneValidator" runat="server" 
                       ControlToValidate="telTextBox" ErrorMessage="Digite o telefone" ForeColor="Red">*</asp:RequiredFieldValidator>
               </td>
           </tr>
       </table>

   </fieldset>
   <p>&nbsp</p>

   <fieldset>
    <legend>Endereço</legend>

    
       <table class="style1">
           <tr>
               <td class="style5">
                   Rua:
               </td>
               <td class="style6">
                   <asp:TextBox ID="TextBox5" runat="server" Width="323px"></asp:TextBox>
               </td>
               <td class="style7">
                   Número:
               </td>
               <td>
                   <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
               </td>
           </tr>
           <tr>
               <td class="style8">
               </td>
               <td class="style9">
               </td>
               <td class="style10">
               </td>
               <td class="style4">
               </td>
           </tr>
           <tr>
               <td class="style5">
                   Bairro:
               </td>
               <td class="style6">
                   <asp:TextBox ID="TextBox7" runat="server" Width="216px"></asp:TextBox>
               </td>
               <td class="style7">
                   &nbsp;</td>
               <td>
                   &nbsp;</td>
           </tr>
           <tr>
               <td class="style8">
               </td>
               <td class="style9">
               </td>
               <td class="style10">
               </td>
               <td class="style4">
               </td>
           </tr>
           <tr>
               <td class="style5">
                    Cidade:
               </td>
               <td class="style6">
                   <asp:TextBox ID="TextBox8" runat="server" Width="213px"></asp:TextBox>
               </td>
               <td class="style7">
                   &nbsp;</td>
               <td>
                   &nbsp;</td>
           </tr>
           <tr>
               <td class="style8">
               </td>
               <td class="style9">
               </td>
               <td class="style10">
               </td>
               <td class="style4">
               </td>
           </tr>
           <tr>
               <td class="style5">
                  Cep:
               </td>
               <td class="style6">
                   <asp:TextBox ID="TextBox9" runat="server"></asp:TextBox>
               </td>
               <td class="style7">
                   &nbsp;</td>
               <td>
                   &nbsp;</td>
           </tr>
           <tr>
               <td class="style8">
               </td>
               <td class="style9">
               </td>
               <td class="style10">
               </td>
               <td class="style4">
               </td>
           </tr>
           <tr>
               <td class="style5">
                  Estado:
               </td>
               <td class="style6">
                   <asp:TextBox ID="TextBox10" runat="server" Width="60px"></asp:TextBox>
               </td>
               <td class="style7">
                   &nbsp;</td>
               <td>
                   &nbsp;</td>
           </tr>
       </table>
   </fieldset>

   <p> &nbsp;</p>

   <p>
       <asp:Label ID="sucessoLabel" runat="server" ForeColor="Red"></asp:Label>
    </p>
    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" />
   <p align="center">
       <asp:Button ID="Button1" runat="server" BackColor="#999999" 
           BorderColor="#3366FF" BorderStyle="Groove" onclick="Button1_Click" 
           Text="Enviar" Width="200px" />
    </p>
    
    <p align="center">
      
        &nbsp;</p>
</asp:Content>
